package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 套餐类型分类对象 t_package_category
 * 
 * @author ruoyi
 * @date 2025-06-26
 */
public class TPackageCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型主键ID */
    private Long id;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String categoryName;

    /** 关联的套餐数量（可冗余，或通过关联查询统计） */
    @Excel(name = "关联的套餐数量", readConverterExp = "可=冗余，或通过关联查询统计")
    private Long packageCount;

    /** 包含的套餐名称 */
    @Excel(name = "包含的套餐名称")
    private String includedPackages;

    /** 状态：1启用、0停用 */
    @Excel(name = "状态：1启用、0停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public void setPackageCount(Long packageCount) 
    {
        this.packageCount = packageCount;
    }

    public Long getPackageCount() 
    {
        return packageCount;
    }

    public void setIncludedPackages(String includedPackages)
    {
        this.includedPackages = includedPackages;
    }

    public String getIncludedPackages()
    {
        return includedPackages;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryName", getCategoryName())
            .append("packageCount", getPackageCount())
            .append("includedPackages", getIncludedPackages())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
